package com.publishsystem.util.page;

import java.util.List;

public class FlipInfo {
    private List pageList;              //数据
    private int pageIndex;       //当前页号
    private int pageSize;               //每页记录条数

    private long totalItemCount;         //总记录数
    private long totalPageCount;         //总页数
    private long startRecordIndex;       //当前页第一条记录索引
    private long endRecordIndex;         //当前页最后一条记录索引

    public List getPageList() {
        return pageList;
    }

    public <T> void setPageList(List<T> pageList) {
        this.pageList = pageList;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public long getTotalItemCount() {
        return totalItemCount;
    }

    public void setTotalItemCount(long totalItemCount) {
        this.totalItemCount = totalItemCount;
    }

    public long getTotalPageCount() {
        return totalPageCount;
    }

    public void setTotalPageCount(long totalPageCount) {
        this.totalPageCount = totalPageCount;
    }

    public long getStartRecordIndex() {
        return startRecordIndex;
    }

    public void setStartRecordIndex(long startRecordIndex) {
        this.startRecordIndex = startRecordIndex;
    }

    public long getEndRecordIndex() {
        return endRecordIndex;
    }

    public void setEndRecordIndex(long endRecordIndex) {
        this.endRecordIndex = endRecordIndex;
    }
}
